<assign dw=$(prefPShowShowOptionsWidth)>
<assign dh=$(prefPShowShowOptionsHeight)>
<assign bw=375>
<assign previewHeight=@prefPShowShowOptionsPreviewHeight>
<assign previewWidth=@prefPShowShowOptionsPreviewWidth>
<assign listWidth=@prefPShowShowOptionsListWidth>
<assign dwi=#dw-@prefPShowShowOptionsListWidth-23>
<assign dhi=#dh-97>
<assign lw=#dwi-#previewWidth-3>
<assign dialogSizeButtonWidth=22>
<assign optHeight=28>
<assign optLabelWidth=90>
<assign dhr=#dh-84>
<assign createTabs=0>
<assign kf=0>


<#if prefPShowShowOptionsWidth==1000>  <!-- 1024 x 768 -->
	<assign bw=374>
	<assign previewHeight=261>
	<assign previewWidth=464>
	<assign listWidth=224>	
	<assign listHeight1=129>
	<assign listHeight2=460>
	<assign lw=#dwi-#previewWidth-6-#ds>
	<assign dwi=#dw-#listWidth-21>
<#elseif prefPShowShowOptionsWidth==1200>  <!-- 1280 x 768 -->
	<assign bw=435>
	<assign previewHeight=261>
	<assign previewWidth=464>
	<assign listWidth=300>	
	<assign listHeight1=129>
	<assign listHeight2=460>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1256>  <!-- 1280 x 960 -->
	<assign bw=503>
	<assign previewHeight=441>
	<assign previewWidth=592>
	<assign listWidth=220>	
	<assign listHeight1=222>
	<assign listHeight2=643>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1416>  <!-- 1416 x 900 -->
	<assign bw=563>
	<assign previewHeight=396>
	<assign previewWidth=704>
	<assign listWidth=220>	
	<assign listHeight1=222>
	<assign listHeight2=579>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1376>  <!-- 1400 x 1050 -->
	<assign bw=563>
	<assign previewHeight=537>
	<assign previewWidth=720>
	<assign listWidth=220>	
	<assign listHeight1=240>
	<assign listHeight2=733>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1500>  <!-- 1600 x 1000 -->
	<assign bw=592>
	<assign previewHeight=513>
	<assign previewWidth=912>
	<assign listWidth=286>	
	<assign listHeight1=240>
	<assign listHeight2=707>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1600>  <!-- 1680 x 1050 -->
	<assign bw=615>
	<assign previewHeight=540>
	<assign previewWidth=960>
	<assign listWidth=341>	
	<assign listHeight1=240>
	<assign listHeight2=732>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1576>  <!-- 1600 x 1200 -->
	<assign bw=661>
	<assign previewHeight=669>
	<assign previewWidth=882>
	<assign listWidth=224>	
	<assign listHeight1=332>
	<assign listHeight2=861>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==1800>
	<assign bw=661>
	<assign previewHeight=567>
	<assign previewWidth=1008>
	<assign listWidth=320>	
	<assign listHeight1=300>
	<assign listHeight2=761>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==2024>  <!-- 2048 x 1536 -->
	<assign bw=661>
	<assign previewHeight=765>
	<assign previewWidth=1360>
	<assign listWidth=280>	
	<assign listHeight1=322>
	<assign listHeight2=959>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#elseif prefPShowShowOptionsWidth==2440>  <!-- 2560 x 1440 -->
	<assign bw=661>
	<assign previewHeight=765>
	<assign previewWidth=1360>
	<assign listWidth=320>	
	<assign listHeight1=322>
	<assign listHeight2=959>
	<assign lw=#dwi-#previewWidth-3-#ds>
	<assign dwi=#dw-#listWidth-23>
<#endif>


<!--dialog_title="Show Options"-->
<+b_dialog dialog_title="Show Options">

<#if prefPShowTabShowOptions==1>  <!-- Show Settings -->
	<assign showCatShow=1>
	<assign prefPShowShowOptCatShowLastTab=1>
	<assign mainPreviewAltText="Preview Area\n--------\nMove: Click + Drag\nZoom: Mouse Wheel\nRight click for more">
	<assign title="Show Settings">
	<assign titleX=24>

<#endif>
<#if  prefPShowTabShowOptions==2>  <!-- Captions -->
	<assign showCatCaptions=1>
	<assign prefPShowShowOptCatCaptionsLastTab=1>
	<assign mainPreviewAltText="Preview Area\n--------\nMove: Click + Drag\nZoom: Mouse Wheel\nRight click for more">
	<assign title="Show Captions">
	<assign titleX=24>
<#endif>
<#if  prefPShowTabShowOptions==3> <!-- Sounds -->
	<assign showCatSounds=1>
	<assign prefPShowShowOptCatSoundtrackLastTab=1>
	<assign mainPreviewAltText="Preview Area\n--------\nMove: Click + Drag\nZoom: Mouse Wheel\nRight click for more">
	<assign title="Soundtrack">
	<assign titleX=38>
<#endif>
<#if prefPShowTabShowOptions==4>  <!-- Background -->
	<assign showCatShow=1>
	<assign prefPShowShowOptCatShowLastTab=2>
	<assign mainPreviewAltText="Preview Area\n--------\nMove: Click + Drag\nZoom: Mouse Wheel\nRight click for more">
	<assign title="Background">
	<assign titleX=34>
<#endif>
<#if prefPShowTabShowOptions==5>  <!-- Watermark -->
	<#if cpicShowProducer>
	<assign showCatShow=1>
	<assign prefPShowShowOptCatShowLastTab=3>
	<assign mainPreviewAltText="Preview Area\n--------\nRight click for options">
	<#endif>
	<assign title="Watermark">
	<assign titleX=40>
<#endif>


<!-- Master Graphics -->

<img src=images/button_play.png save=play>
<img src=images/button_pause.png save=pause>
<img src=images/button_stop.png save=stop>
<img src=images/button_precision.png save=precision>
<img src=images/button_configure.png save=options>
<img src=images/button_previous.png save=previous>
<img src=images/button_next.png save=next>
<img src=images/button_add.png save=add>
<img src=images/button_delete.png save=delete>
<img src=images/button_time.png save=time>
<img src=images/button_copy.png save=copy>
<img src=images/button_reset.png save=reset>
<img src=images/button_add_layer.png save=addLayer>
<img src=images/button_trash.png save=trash>
<img src=images/button_up_simple.png save=upSimple>
<img src=images/button_down_simple.png save=downSimple>
<img src=images/button_window.png save=window>

<!--dialog_title="Show Options"-->
<+b_dialog dw=$(prefPShowShowOptionsWidth) dialog_title="Show Options">
<table>
	<tr>
		<td width=#listWidth bgcolor=#colorList>	
			<table border=0 cellspacing=0 cellpadding=0>
			<tr>
				<td width=#listWidth bgcolor=#colorList>
					<table border=0 cellspacing=0 cellpadding=0>
					<tr>
						<td>
							<img height=#ds><br>
							<img width=#ds>
							<font size=+1 color=#colorListText>Show</font><br>
							<img width=#ds><input type=label name=showName textsize=14 width=#listWidth-#ds height=14 textcolor=#colorListText><br>
							<img height=#ds>
						</td>
					</tr>
					<tr>
						<td width=#listWidth bgcolor=#colorList><input type=custom name=showOptShow width=#listWidth height=42 alt="Show Settings\nClick for general settings for this show,\nlike aspect ratio and thumbnail."></td>
					</tr>
					</table>
					<#if cpicShowProducer>
					<table border=0 cellspacing=0 cellpadding=0>
					<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>
					<tr>
						<td bgcolor=#colorList><input type=custom name=showOptWatermark width=#listWidth height=42 alt="Watermark\nClick to view or change the watermark for this show."></td>
					</tr>
					</table>
					<#endif>
					<table border=0 cellspacing=0 cellpadding=0>
					<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>
					<tr>
						<td bgcolor=#colorList><input type=custom name=showOptBackground width=#listWidth height=42 alt="Background\nClick to customize the background for this show."></td>
					</tr>
					<tr>
						<td>
							<img height=#ds><br>
							<img width=#ds><font size=+1 color=#colorListText>Soundtrack</font><br>
							<img height=#ds>
						</td>
					</tr>
					<tr>
						<td height=25 bgcolor=#colorToolbar>
							<table>
							<tr>
								<td width=#listWidth>
									<table>
									<tr>
										<td width=#listWidth-60 align=left>
											<img height=2><br>
											<input type=button name=soundAdd toolbar=1 width=45 height=20 xpar=#addLayer  grayxpar=#addLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Add Track\nAdd a new track to this show." ascent=20>
										</td>
										<td>
											<img height=2><br>
											<input type=button name=soundDel toolbar=1 width=30 height=20 xpar=#trash  grayxpar=#trash img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Remove Track\nDelete the selected track." ascent=20>
										</td>
										<td>
											<img height=2><br>
											<input type=button name=soundUp toolbar=1 width=30 height=10 xpar=#upSimple  grayxpar=#upSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Up\nMove the selected sound up in the list."><br>
											<input type=button name=soundDown toolbar=1 width=30 height=10 xpar=#downSimple  grayxpar=#downSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Down\nMove the selected sound down in the list.">
										</td>
									</tr>
									</table>
								</td>
							</tr>
							</table>
						</td>
					</tr>					
					<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>
					<tr>
						<td bgcolor=#colorList>
							<#if cpicShowProducer>
							<input type=listbox name=soundList singlesel=1 ownerdraw=1 width=#listWidth height=#listHeight2>
							<#else>
							<input type=listbox name=soundList singlesel=1 ownerdraw=1 width=#listWidth height=#listHeight2+42>
							<#endif>
						</td>
					</tr>
					</table>
				</td>
			</tr>
			</table>		
		
		</td>
		<td width=1 bgcolor=#colorFrame><img width=1 height=1></td>
		<td width=#dw-#listWidth bgcolor=#colorDialog>
			<table>
			<tr>
				<td width=8 background=#colorDialog height=32></td>
				<td width=#dw-@prefPShowShowOptionsWidth-8  background=#colorDialog height=32>
					<img height=#ds>
					<img width=#tabWidth height=32  bgcolor=#colorGroupBox save=tabA>
					<img src=#tabA i_rectleft=#tabWidth-1 i_rectcolor=#colorDialog save=tabA>
					<#if prefDialogTextDark>
						<assign offset=1>
						<assign color=#colorHighlight>
					<#else>
						<assign offset=-1>
						<assign color=#colorShadow>
					<#endif>

					<img src=#tabA i_textm=$(title) i_textsize=21 i_textweight=900 i_textcol=#colorDialogText i_textleft=#tabTextOffset+#titleX i_texttop=5 save=tabA>
					<table>
					<tr>
						<td width=#ds></td>
						<td>
							<img src=#tabA>
						</td>
					</tr>
					</table>
					
		<#endif>
				</td>
			</tr>
			</table>
			<table>
			<tr>
				<td width=8 bgcolor=#colorDialog><img height=#dhr></td>
				<td height=#dhr>
				

